#include <bits/stdc++.h>

using namespace std;

int main() {
    for (int i = 1; i <= 10; i++) {
        if (i == 5) continue;
        if (i == 7) continue;
        cout << i << endl;
    }
    return 0;
}
